using GHIElectronics.NETMF.Glide;
using GHIElectronics.NETMF.Glide.Display;

namespace Melody_Glider.GUIContent
{
    class WindowFrame
    {
        protected Window ThisWindow;

        public void Initialize(string getString)
        {
            ThisWindow = GlideLoader.LoadWindow(getString);
            SophisticatedInit();
            InitButtons();
        }

        public void SetToMain()
        {
            PrepareToMain();
            Glide.MainWindow = ThisWindow;
        }

        protected virtual void SophisticatedInit()
        {
        }

        protected virtual void InitButtons()
        {
        }

        protected virtual void PrepareToMain()
        {
        }
    }
}
